import VueTypes, { createTypes, toValidableType } from 'vue-types';

const propTypes = createTypes({
	func: undefined,
	bool: undefined,
	string: undefined,
	number: undefined,
	object: undefined,
	integer: undefined
});

// 自定义类型扩展类
export default class ProjectTypes extends VueTypes.constructor {
	static get style () {
		return toValidableType('style', {
			type: [String, Object],
			default: undefined
		});
	}
}

export { propTypes };
